package com.gxa.saas.service;

import com.gxa.saas.pojo.Purchase;
import com.gxa.saas.pojo.Storage;

import java.nio.file.Path;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface PurchaseService {

    List<Purchase> selectByPage(Integer offset, Integer size);
    Integer deleteById(Integer id);
    List<Purchase> selectAll();
    Integer updateStatus(Integer id,String comments,Integer status);
    List<Purchase> selectByName(Map map);
    Integer getTotal();
    List<Purchase> selectById(Integer id);

}
